/* Copyright 203-2115 AtomWare Technology Pty Limited
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * The flowing information must be keep 
 * OfficeDataRegion.java
 * wholebasic
 * 2013-7-23上午11:44:52
 * @author 屈甲康
 * QQ285799123
 * mailto:qujiakang@gmail.com
 */

package org.jackysoft.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.jackysoft.util.MySqlSchema;

@Entity@Table(schema=MySqlSchema.Businessbase)
public class OfficeDataRegion extends AbstractEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1401268266520482263L;
	protected String name;
	protected String value;
	protected String workflow;	
	protected long   workflowId;
	
	
	public OfficeDataRegion(){super();}
	
	
	public OfficeDataRegion(String name, String value, String workflow,
			long workflowId) {
		this();
		this.name = name;
		this.value = value;
		this.workflow = workflow;
		this.workflowId = workflowId;
	}
	public String getName() {
		return name;
	}
	
	
	@Column(columnDefinition="varchar(1024)")
	public String getValue() {
		return value;
	}
	public String getWorkflow() {
		return workflow;
	}
	public long getWorkflowId() {
		return workflowId;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public void setWorkflow(String workflow) {
		this.workflow = workflow;
	}
	public void setWorkflowId(long workflowId) {
		this.workflowId = workflowId;
	}
}
